﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RightManager.aspx.cs" Inherits="SysInfo_RightManager"
    CodeFileBaseClass="Frame.Pages.BasePage" MasterPageFile="~/MainMaster.master" %>

<%@ Register Assembly="DevExpress.Web.ASPxTreeList.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTreeList" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="Css/web20110913.css" rel="stylesheet" type="text/css" charset="gb2312" />
    <script type="text/javascript">
        
    </script>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <h1 class="DemoTitle">
        人员授权管理
    </h1>
    <div id="DemoArea">
        <div class="Spacer" style="height: 14px;">
        </div>
        <table runat="server" id="QueryTable">
            <tr>
                <td>
                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="人员">
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxComboBox ID="ASPxCmbData" runat="server" ClientInstanceName="c_user" ValueType="System.String"
                        ValueField="rybm" CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx"
                        Spacing="0" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" Font-Size="9pt"
                        DropDownStyle="DropDown" IncrementalFilteringMode="Contains">
                        <Columns>
                            <dx:ListBoxColumn Caption="人员编码" FieldName="rybm" />
                            <dx:ListBoxColumn Caption="人员姓名" FieldName="ryxm" />
                        </Columns>
                        <ClientSideEvents TextChanged="function(s,e){QueryTree.PerformCallback(s.GetValue()); }" />
                        <LoadingPanelImage Url="~/App_Themes/DevEx/Editors/Loading.gif">
                        </LoadingPanelImage>
                        <LoadingPanelStyle ImageSpacing="5px">
                        </LoadingPanelStyle>
                        <ButtonStyle Width="13px">
                        </ButtonStyle>
                    </dx:ASPxComboBox>
                </td>
                <td>
                    <dx:ASPxButton ID="btnSave" runat="server" Text="保存" AutoPostBack="False" UseSubmitBehavior="False"
                        CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                        <ClientSideEvents Click="function(s,e){QueryPanel.PerformCallback(c_user.GetValue()); }" />
                    </dx:ASPxButton>
                </td>
                <td>
                </td>
            </tr>
        </table>
        <dx:ASPxCallbackPanel ID="QueryCBPanel" ClientInstanceName="QueryPanel" runat="server"
            Width="100%" OnCallback="QueryCBPanel_Callback">
            <PanelCollection>
                <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                    <dx:ASPxTreeList ID="DxTreelist" AutoGenerateColumns="False" Width="100%" ClientInstanceName="QueryTree"
                        Font-Size="10pt" runat="server" OnCustomCallback="DxTreelist_CustomCallback"
                        KeyFieldName="aid" ParentFieldName="mid" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                        CssPostfix="DevEx">
                        <Columns>
                            <dx:TreeListTextColumn Caption="功能编码" FieldName="aid" VisibleIndex="0">
                            </dx:TreeListTextColumn>
                            <dx:TreeListTextColumn Caption="功能说明" FieldName="ades" VisibleIndex="1">
                            </dx:TreeListTextColumn>
                            <dx:TreeListTextColumn Caption="操作" ShowInCustomizationForm="True" 
                                VisibleIndex="2">
                            </dx:TreeListTextColumn>
                        </Columns>
                        <Settings SuppressOuterGridLines="True" />
                        <SettingsBehavior AllowFocusedNode="True" AutoExpandAllNodes="true" />
                        <SettingsPager>
                            <Summary Text="当前第{0}页，共{1}页，{2}条记录" />
                        </SettingsPager>
                        <SettingsSelection Enabled="True" Recursive="True" />
                        <Images SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                            <LoadingPanel Url="~/App_Themes/DevEx/TreeList/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <Styles CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx">
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                        </StylesEditors>
                    </dx:ASPxTreeList>
                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxCallbackPanel>
    </div>
</asp:Content>
